package com.yxlgateway;

import com.yxlcommon.common.pojo.Author;
import com.yxlgateway.service.AuthorService;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @author: yxl
 * @since: 2022-05-06
 **/
@Slf4j
@SpringBootTest
public class StageText {

    @Autowired
    private AuthorService authorService;

    @Test
    public void test(){
        Author author = new Author();
        author.setUserId(12);
        System.out.println(authorService.selectAuthorById(author));
    }
}
